import { createRouter, createWebHashHistory } from 'vue-router';

const router = createRouter({
    history: createWebHashHistory(import.meta.env.BASE_URL),
    routes: [
        {
            path: '/',
            redirect: '/theme',
            component: () => import('@/views/index.vue'),
        },
        {
            path: '/theme',
            name: 'theme',
            component: () => import('@/views/index.vue'),
        },
    ],
});

export default router;
